

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title><link href='./home/css/etm.css' rel='stylesheet' type='text/css' /><!--[if IE 8]> <link href='/Themes/Theme3/ie8Fix.css' rel='stylesheet' /> <![endif]-->

    <script src="./home/js/WdatePicker.js"></script>
    <script src="./home/js/jquery-1.4.2.min.js"></script>
    <script src="./home/js/flexigrid.js"></script>
    <script src="./home/js/jQuery.Ex.js"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE"/><script src='./home/js/jquery.nicescroll.min.js' type='text/javascript'></script><script type='text/javascript'>var isEtmClient=false;function ReSizeScrollbar() { if ($('form').getNiceScroll().length > 0) {     $('form').getNiceScroll().onResize();}}function ReSizeFlexgridScrollbar() { if ($('.bDiv').getNiceScroll().length > 0) {     $('.bDiv').getNiceScroll().onResize();}}function InitFlexgridScrollbar(){     $('.bDiv').niceScroll({cursorcolor: '#75A801',zindex:4});}function ReSizenDivScrollbar() { if ($('.flexigrid .nDiv').getNiceScroll().length > 0) {     $('.flexigrid .nDiv').getNiceScroll().onResize();}}function InitnDivScrollbar(){     $('.flexigrid .nDiv').niceScroll({cursorcolor: '#75A801',horizrailenabled:false});}function proxyExecuteFun(funName) {if(funName == undefined || funName==null|| funName.length==0){window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return;}  if (window[funName]()) {window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return true; } return false; };var _tmpOnSelectedFile = null;function onSelectedFile(fileName, fileUrl, isImg) {   if (_tmpOnSelectedFile != null) {        _tmpOnSelectedFile(fileName, fileUrl, isImg);    }}function showFileList(callback) {   window.parent.showDialog('查看素材库', '/Modules/OA/CMyFileListView.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d', '900px', '450px');   _tmpOnSelectedFile = callback;}$(function () {if (navigator.userAgent.toLowerCase().indexOf('edge/') != -1) { $('input[type=submit],.tmpSubmitButton').bind({ mouseenter: function () { $(this).addClass('tmpSubmitButton'); $(this).prop('type', 'button'); }, mouseleave: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); }, click: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); } }); }if (window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { window.parent.showsending(false, ''); }$(".button").each(function() { if ($(this).attr("type") == "submit" &&!$(this).hasClass('noloading') && window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { var tmpClick = $(this).attr("onclick");if(tmpClick == undefined || tmpClick==null|| tmpClick.length<2){ $(this).attr("onclick","proxyExecuteFun();");return;}  if (tmpClick.indexOf("return ") != -1 && tmpClick.indexOf("(") != -1) { tmpClick = tmpClick.substring(7).replace(/\s+/g, ''); if (tmpClick.indexOf("()") != -1) { var funName = tmpClick.substring(0, tmpClick.indexOf("(")); $(this).attr("onclick","return proxyExecuteFun('" + funName + "');"); } } } });$('body').click(function() {     if (typeof parent.onChildPageClick !='undefined') {         parent.onChildPageClick();     }});     $('form').height($(window).height()-0).niceScroll({cursorcolor: '#75A801',horizrailenabled:false });     $(window).resize(function () {         ReSizeScrollbar();     });});</script>
    <script type="text/javascript">
        function EditDlgl(TrainGuid) {
            window.parent.showDialog("教学培训登记", "../Modules/Teach/TrainEdit.aspx?sc=btn&navId=1641ffa7-2b43-4d50-9612-d7615799b20d&TrainGuid=" + TrainGuid, "590px", "340px");
            return false;
        }
        $(function () {
            $(".TrainDelete").live("click", function () {
                if (confirm("确定要删除吗？")) {
                    $.AjaxETM("Teach_TrainDelete", { "TrainGuid": $(this).attr("TrainGuid"), "TrainTitle": $(this).attr("TrainTitle") },
                        function (data) {
                            alert(data);
                        },
                         true, "text");
                }
            });
        });
        function ShowtTrInfo(TrainGuid) {
            window.parent.showDialog("教学培训查看", "../Modules/Teach/TrainInfo.aspx?TrainGuid=" + TrainGuid, "750px", "400px");
        }
        function Del() {
            var TrainGuid = "";
            var TrainTitle = "";
            var count = 0;
            var dostatus = "";
            $("input[name='selectItem']:checkbox:checked").each(function () {
                TrainGuid += $(this).parent().parent().attr("TrainGuid") + ",";
                TrainTitle += $(this).parent().parent().attr("TrainTitle") + ","
                count += 1;
            });
            if (count == 0) {
                alert("请选择一条记录");
                return false;
            }
            else {
                if (confirm("确定要删除吗")) {
                    $.AjaxETM("Teach_TrainDelete_More", { "TrainGuid": TrainGuid, "TrainTitle": TrainTitle },
                        function (data) {
                            alert(data);
                        },
                            true, "text");
                }
                else {
                    alert("记录状态为 " + getStatusName(dostatus) + "，无法删除！");
                }
            }
            return false;
        }
    </script>
</head>
<body>
    <form method="post" action="TrainList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTE5NTk1NzUwN2RkekCPaB42ZDqwM+ialK2emdyVgBGP/6yQdByaRTM0pcI=" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="1BA91F41" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAeGOic1qHMyxOjbOoKr3Y3gT9wgFBQ/XNQQxkwNbCInF2pb4EH2AYnaj3VVck69wn7FPPOhXxBQBF3IHrBKbJ0X0/0wJmIIlQcZSJ6JYh2tv5NcQtnKtb31hEtbT6bWJ9820eK77DGr/pO8r5k2XaJLHCAw+V+TAYBLpQuDp2dzsipKxKciyfDsRmMAZR6MZ/8=" />
</div>
         <script type="text/javascript">$(function () {$("#rightLinks").etmTabs({item: [{ Text: "教务培训管理", Url: "../../Modules/Teach/TrainList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d&pageid=41e7ed7f-bef2-4a33-a055-30e17624f624", Selected: true },{ Text: "教学备课管理", Url: "../../Modules/Teach/PrepareLessonList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d&pageid=a6b4973a-9074-4150-b246-c92637ea1f2b" },{ Text: "教学计划管理", Url: "../../Modules/Teach/TeachPlanList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d&pageid=f198d37a-421a-4651-bca8-ec84f2fc0976" },{ Text: "教研计划管理", Url: "../../Modules/Teach/ProgramList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d&pageid=88662d46-dd4f-4acb-bbc9-d1e54495b3cc" },{ Text: "素材库", Url: "../../Modules/OA/CMyFileList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d&pageid=6ed0ae17-f587-4e7b-9d2d-a28d4cee332e" }]});});</script><div id='rightLinks' style='position: absolute; top: 2px; right: 10px;'></div>
        <table class="search">
            <tr>
                <td class="textAlignRight" style="width: 66px;">发起人：
                </td>
                <td class="borderRight" style="width: 160px;">
                    <input name="tbPromoterName" type="text" id="tbPromoterName" class="int" />
                </td>
                <td class="textAlignRight" style="width: 78px;">课程体系：
                </td>
                <td class="borderRight" style="width: 160px;">
                    <input name="tbCourseSysName" type="text" id="tbCourseSysName" class="int" />
                </td>
                <td class="textAlignRight" style="width: 78px;">登记时间：
                </td>
                <td class="borderRight" style="width: 172px;">
                    <input name="tbStartDate" type="text" id="tbStartDate" class="int" onfocus="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;})" style="width: 70px" />
                    - 
                    <input name="tbEndDate" type="text" id="tbEndDate" class="int" onfocus="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;})" style="width: 70px" />
                </td>
                <td style="padding-left: 20px;">
                    <input type="button" class="button" value="搜 索" id="btnSearch" />&nbsp;
                      
                </td>
            </tr>
        </table>
        <table id='Test' style='display:none;'></table><input type='text' style='display:none;' id='etmparams' name='etmparams' value='[{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"","Name":"TrainGuid","Width":35,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":true,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":"TrainGuid,TrainTitle","IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"TrainAct","Display":"操作","Name":"TrainGuid,TrainTitle,1641ffa7-2b43-4d50-9612-d7615799b20d","Width":90,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"TrainLink","Display":"培训标题","Name":"TrainGuid,TrainTitle","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"发起人","Name":"PromoterName","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"TrainTimeBy","Display":"培训时间","Name":"StartTime,EndTime","Width":300,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"专家","Name":"TrainExpertName","Width":80,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"课程体系","Name":"CourseSystemName","Width":80,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"培训对象","Name":"TrainType","Width":80,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"培训内容","Name":"Notes","Width":320,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":"yyyy-MM-dd","ColumnType":"DateTime","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"登记时间","Name":"CreateTime","Width":120,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"登记人","Name":"CreatorName","Width":80,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false}]'/><input type='text' style='display:none;' id='etmUrlparams' name='etmUrlparams' value='[{"Key":"navId","Value":"1641ffa7-2b43-4d50-9612-d7615799b20d"}]'/><input type='text' style='display:none;' id='etmPageUrl' name='etmPageUrl' value='http://vip.yj.etmcn.com/Modules/Teach/TrainList.aspx?navId=1641ffa7-2b43-4d50-9612-d7615799b20d'/><input type='text' style='display:none;' id='pagename' name='pagename' value='TrainList'/><input type='text' style='display:none;' id='pageamethod' name='pageamethod' value='TrainListTrainList'/><script type='text/javascript'> var etmFormId='form1';function fixIE9() {if ($.browser.msie && $.browser.version == 9) {$('#form1 select').each(function () {var name = $(this).attr('name');if (name != undefined && name.length > 0) {var value = $(this).val();if (value == null) {value = $(this).find('option:first').attr('value');$(this).val(value);}}});}}function RefreshGrid(){ $('#Test').flexOptions().flexReload(); };function addFormData() {fixIE9(); var dt = $('#form1').serializeArray(); $('#Test').flexOptions({ params: dt }); return true; }$(function () { $('#btnSearch').click(function () { $('#Test').flexOptions({ newp: 1 }).flexReload(); return false; }); });$('#Test').flexigrid({url: './data/TrainList.json',sortname: 'CreateTime',sortorder: 'desc',usepager: true,useRp: true,rpOptions: [20,30,50,100,200],rp: 30,colModel: [{ display: '', name: 'TrainGuid',etmname:'TrainGuid', width: 35, sortable: false, align: 'Center', checkbox: true ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '操作', name: 'TrainGuid,TrainTitle,1641ffa7-2b43-4d50-9612-d7615799b20d',etmname:'TrainAct', width: 90, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '培训标题', name: 'TrainGuid,TrainTitle',etmname:'TrainLink', width: 100, sortable: false, align: 'center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '发起人', name: 'PromoterName',etmname:'PromoterName', width: 100, sortable: false, align: 'center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '培训时间', name: 'StartTime,EndTime',etmname:'TrainTimeBy', width: 300, sortable: false, align: 'center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '专家', name: 'TrainExpertName',etmname:'TrainExpertName', width: 80, sortable: false, align: 'center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '课程体系', name: 'CourseSystemName',etmname:'CourseSystemName', width: 80, sortable: false, align: 'center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '培训对象', name: 'TrainType',etmname:'TrainType', width: 80, sortable: false, align: 'center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '培训内容', name: 'Notes',etmname:'Notes', width: 320, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '登记时间', name: 'CreateTime',etmname:'CreateTime', width: 120, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'yyyy-MM-dd',ColumnType:'DateTime',IsJsAddColumn:false},{ display: '登记人', name: 'CreatorName',etmname:'CreatorName', width: 80, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false}],width: $(window).width(),height: $(window).height()-250+60,onSubmit: addFormData});</script>
        <div style="margin-left: 20px;"><input type="submit" name="btnAdd" value="添 加" onclick="return EditDlgl(&#39;&#39;);" id="btnAdd" class="button" />
                    &nbsp;&nbsp;
            <input type="submit" name="btnBatchDel" value="批量删除" onclick="return Del();" id="btnBatchDel" class="button" /></div>
    </form>

</body>
</html>
